home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / search / lsmtool-.6 / lsmtool- / lsmtool-0.6 / term.h < prev    next >
C/C++ Source or Header  |  1994-12-28  |  628b  |  34 lines

  1. /*
  2.  * term.h -- terminal stuff for lsmtool
  3.  *
  4.  * Lars Wirzenius
  5.  * "@(#)lsm:term.h,v 1.1 1994/12/28 13:06:37 wirzeniu Exp"
  6.  */
  7.  
  8. #ifndef term_h_included
  9. #define term_h_included
  10.  
  11. #include <limits.h>
  12.  
  13. enum {
  14.     KEY_DUMMY = UCHAR_MAX,
  15.     KEY_LEFT, KEY_RIGHT, KEY_UP, KEY_DOWN, KEY_NEXT, KEY_PREV,
  16.     MAX_KEY, MIN_KEY = KEY_LEFT, NUM_KEYS = MAX_KEY - MIN_KEY + 1
  17. };
  18.  
  19.  
  20. void terminit(void);
  21. void termend(void);
  22. int termwidth(void);
  23. int termheight(void);
  24. int keymatch(const char *, int);
  25. void move(int y, int x);
  26. void clear(void);
  27. void clrtoeol(void);
  28. void delline(void);
  29. void insline(void);
  30. void standout(void);
  31. void standend(void);
  32.  
  33. #endif
  34.